module.exports = {
    devServer: {
        proxy: {    //代理
            "/api": {    //代理地址
                target: 'http://www.chst.vip',
                pathRewrite: {     //路径重写
                    "^/api": ""
                }
            }
        }
       },
       configureWebpack: {
        externals: {
          BMap: 'BMap',
          BMAP_STATUS_SUCCESS:'BMAP_STATUS_SUCCESS',
        }
      }
    
    }

